package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
@Accessors(chain = true)
public class User extends ZdTime implements Serializable {
    @TableId
    private String id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "sex")
    private String sex;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "state")
    private String state;

    @TableField(value = "carId")
    private String carId;

    @TableField(value = "policeMember")
    private String policeMember;

    @TableField(value = "passWold")
    private String passWold;

    @TableField(value = "roleId")
    private String roleId;

    @TableField(value = "deptId")
    private String deptId;

    @TableField(value = "deleteType")
    private String deleteType;

    @TableField(exist = false)
    private String roleName;
}
